<?xml version="1.0" encoding="UTF-8" ?>
<%@page import="com.info.pello.Tale"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Update</title>
</head>
<body>

<%
	Tale tale =  (Tale) request.getAttribute("tale");
%>

<form name="updateform" method="post" action="Update" />
<fieldset>
	<legend>Update Story</legend>
	<input type="hidden" name="id" id="id" value="<%=tale.getId()%>" />
	<label for="title">Title</label><br /> 
	<input type="text" name="title" id="title" value="<%=tale.getTitle()%>" />
	<label for="tale">Tale</label><br />
	<textarea name="tale" id="tale"><%=tale.getTale()%></textarea><br />
	<input type="submit" name="send" id="send" value="Update" /><br />
</fieldset>
</body>
</html>